package com.xxx.yuedong.campaign.db.dao;


import com.xxx.yuedong.campaign.pojo.Plan;
import com.xxx.yuedong.mall.model.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @author hc
 * @date 2023/08/03 11:28
 **/

@Repository(value = "plan")
public interface PlanDao {
    public int insert(Plan plan);

    public HashMap searchPlanById(Long id);
    public ArrayList<HashMap> searchPlanByGoal(HashMap paran);

    public ArrayList<HashMap> searchAllPlan();

    public  List<Plan> searchPlanList();

    public int deletePlanByIds(Integer[] ids);

    public int updatePlanById(HashMap param);
}
